Skip to content

Fix unbound local error in GFM emphasis processing (#666)#667

Merged
nicholasserra merged 2 commits intotrentm:masterfrom
Crozzers:fix-unbound-local-in-gfm-em
Dec 17, 2025
Merged

Fix unbound local error in GFM emphasis processing (#666)#667
nicholasserra merged 2 commits intotrentm:masterfrom
Crozzers:fix-unbound-local-in-gfm-em

Conversation

@Crozzers
Copy link
Contributor

This PR fixes #666.

Accidentally allowed a case where middle could be undefined in has_middle.

@nicholasserra nicholasserra merged commit f18725f into trentm:master Dec 17, 2025
15 checks passed
@nicholasserra
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: UnboundLocalError: cannot access local variable 'middle'

2 participants